package com.mk.web.service.impl;

import com.mk.web.dao.CUserDao;
import com.mk.web.dao.impl.CUserDaoImpl;
import com.mk.web.model.CUser;
import com.mk.web.service.CUserService;

/**
 * Created by WangChen on 2018/11/26 20:15.
 */
public class CUserServiceImpl implements CUserService {

    CUserDao userDao = new CUserDaoImpl();
    @Override
    public CUser findByName(String name) {
        return userDao.getByName(name);
    }
}
